package com.fwj.eurekaclientconsumer;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 傅文江
 * <p>
 * 时间： 2018-03-30 10:26
 * <p>
 * 描述：
 * <p>
 * 版权： Copyright © 2017 新道科技股份有限公司
 **/
@FeignClient(name = "eureka-client-provider", configuration = HystrixClientConfigration.class)
public interface HystrixClientRemoteInterface {
    @RequestMapping(value = "/getTeamInfo", method = RequestMethod.GET)
    public String getTeamInfo(@RequestParam("teamName") String teamName);
}
